package com.ktjiaotu.example.example06And07;

import java.util.Date;

/**
 * @Author: DABINGCHNEGJIAO
 * @CreateTime: 2025-06-06
 * @Description:
 * @Version: 1.0
 */
@SuppressWarnings("all")
public class DeprecatedTest {
    @Deprecated
    public void show1() {
        //1.0
    }


    public void show2() {
        //2.0
    }

    public int use() {
        Date date = new Date();
        int year = date.getYear();
        return year;
    }
}
